Optimal. Leaf size=96 \[ -\frac{d \left (a+b \text{sech}^{-1}(c x)\right )}{x}+e x \left (a+b \text{sech}^{-1}(c x)\right )+\frac{b d \sqrt{\frac{1}{c x+1}} \sqrt{c x+1} \sqrt{1-c^2 x^2}}{x}+\frac{b e \sqrt{\frac{1}{c x+1}} \sqrt{c x+1} \sin ^{-1}(c x)}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0658553, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {14, 6301, 451, 216} \[ -\frac{d \left (a+b \text{sech}^{-1}(c x)\right )}{x}+e x \left (a+b \text{sech}^{-1}(c x)\right )+\frac{b d \sqrt{\frac{1}{c x+1}} \sqrt{c x+1} \sqrt{1-c^2 x^2}}{x}+\frac{b e \sqrt{\frac{1}{c x+1}} \sqrt{c x+1} \sin ^{-1}(c x)}{c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 6301
Rule 451
Rule 216
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right ) \left (a+b \text{sech}^{-1}(c x)\right )}{x^2} \, dx &=-\frac{d \left (a+b \text{sech}^{-1}(c x)\right )}{x}+e x \left (a+b \text{sech}^{-1}(c x)\right )+\left (b \sqrt{\frac{1}{1+c x}} \sqrt{1+c x}\right ) \int \frac{-d+e x^2}{x^2 \sqrt{1-c^2 x^2}} \, dx\\ &=\frac{b d \sqrt{\frac{1}{1+c x}} \sqrt{1+c x} \sqrt{1-c^2 x^2}}{x}-\frac{d \left (a+b \text{sech}^{-1}(c x)\right )}{x}+e x \left (a+b \text{sech}^{-1}(c x)\right )+\left (b e \sqrt{\frac{1}{1+c x}} \sqrt{1+c x}\right ) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{b d \sqrt{\frac{1}{1+c x}} \sqrt{1+c x} \sqrt{1-c^2 x^2}}{x}-\frac{d \left (a+b \text{sech}^{-1}(c x)\right )}{x}+e x \left (a+b \text{sech}^{-1}(c x)\right )+\frac{b e \sqrt{\frac{1}{1+c x}} \sqrt{1+c x} \sin ^{-1}(c x)}{c}\\ \end{align*}
Mathematica [A] time = 0.238545, size = 107, normalized size = 1.11 \[ -\frac{a d}{x}+a e x-\frac{b e \sqrt{\frac{1-c x}{c x+1}} \sqrt{1-c^2 x^2} \sin ^{-1}(c x)}{c (c x-1)}+b d \left (c+\frac{1}{x}\right ) \sqrt{\frac{1-c x}{c x+1}}-\frac{b d \text{sech}^{-1}(c x)}{x}+b e x \text{sech}^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.21, size = 114, normalized size = 1.2 \begin{align*} c \left ({\frac{a}{{c}^{2}} \left ( cxe-{\frac{cd}{x}} \right ) }+{\frac{b}{{c}^{2}} \left ({\rm arcsech} \left (cx\right )cxe-{\frac{{\rm arcsech} \left (cx\right )cd}{x}}+{\sqrt{-{\frac{cx-1}{cx}}}\sqrt{{\frac{cx+1}{cx}}} \left ({c}^{2}d\sqrt{-{c}^{2}{x}^{2}+1}+\arcsin \left ( cx \right ) cxe \right ){\frac{1}{\sqrt{-{c}^{2}{x}^{2}+1}}}} \right ) } \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.00703, size = 89, normalized size = 0.93 \begin{align*}{\left (c \sqrt{\frac{1}{c^{2} x^{2}} - 1} - \frac{\operatorname{arsech}\left (c x\right )}{x}\right )} b d + a e x + \frac{{\left (c x \operatorname{arsech}\left (c x\right ) - \arctan \left (\sqrt{\frac{1}{c^{2} x^{2}} - 1}\right )\right )} b e}{c} - \frac{a d}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.08469, size = 401, normalized size = 4.18 \begin{align*} \frac{b c^{2} d x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} + a c e x^{2} - 2 \, b e x \arctan \left (\frac{c x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} - 1}{c x}\right ) - a c d +{\left (b c d - b c e\right )} x \log \left (\frac{c x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} - 1}{x}\right ) +{\left (b c e x^{2} - b c d +{\left (b c d - b c e\right )} x\right )} \log \left (\frac{c x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} + 1}{c x}\right )}{c x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{asech}{\left (c x \right )}\right ) \left (d + e x^{2}\right )}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}{\left (b \operatorname{arsech}\left (c x\right ) + a\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]